/* This file contains the table used to map the system call numbers onto the
 * routines that perform them.
 */

#define _TABLE

#include "dfs.h"
#include <minix/callnr.h>
#include <signal.h>

/* Miscellaneous */

char core_name[] = "core";	/* file name where core images are produced */

_PROTOTYPE (int (*call_vec[NCALLS]), (void) ) = {
	do_dfs_add_to_LFI,	/* 0 = dfs_add_to_LFI	*/
	no_sys,				/* 1 */
	no_sys,				/* 2 */
	no_sys,				/* 3 */
	no_sys,				/* 4 */
	no_sys,				/* 5 */
	no_sys,				/* 6 */
	no_sys,				/* 7 */
	no_sys,				/* 8 */
	no_sys,				/* 9 */
	no_sys,				/* 10 */
	no_sys,				/* 11 */
	no_sys,				/* 12 */
	no_sys,				/* 13 */
	no_sys,				/* 14 */
	no_sys,				/* 15 */
	no_sys,				/* 16 */
	no_sys,				/* 17 */
	no_sys,				/* 18 */
	no_sys,				/* 19 */
	no_sys,				/* 20 */
	no_sys,				/* 21 */
	no_sys,				/* 22 */
	no_sys,				/* 23 */
	no_sys,				/* 24 */
	no_sys,				/* 25 */
	no_sys,				/* 26 */
	no_sys,				/* 27 */
	no_sys,				/* 28 */
	no_sys,				/* 29 */
	no_sys,				/* 30 */
	do_dfs_start,		/* 31 = dfs_start */
	do_dfs_set_net_comp,/* 32 = dfs_set_net_components */
	no_sys,				/* 33 */
	do_dfs_set_neighbour_address,/* 34 = dfs_set_neighbour_address */
	do_dfs_get_net_comp,/* 35 = dfs_get_net_components */
	no_sys,				/* 36 */
	no_sys,				/* 37 */
	no_sys,				/* 38 */
	no_sys,				/* 39 */
	no_sys,				/* 40 */
	no_sys,				/* 41 */
	no_sys,				/* 42 */
	no_sys,				/* 43 */
	do_dfs_stop,		/* 44 = dfs_stop */
	no_sys,				/* 45 */
	no_sys,				/* 46 */
	no_sys,				/* 47 */
	no_sys,				/* 48 */
	no_sys,				/* 49 */
	no_sys,				/* 50 */
	do_dfs_remove_from_LFI,/* 51 = do_dfs_remove_from_LFI */
	do_dfs_get_LFI,		/* 52 */
	do_dfs_get_file_path,/* 53 = do_dfs_get_file_path */
	no_sys,				/* 54 */
	no_sys,				/* 55 */
	do_dfs_get_cache_path,/* 56 = do_dfs_get_cache_path */
	do_dfs_set_cache_key,/* 57 = do_dfs_Set_cache_key */
};
/* This should not fail with "array size is negative": */
extern int dummy[sizeof(call_vec) == NCALLS * sizeof(call_vec[0]) ? 1 : -1];
